package com.zzl.boot.bigevent.service;

import com.zzl.boot.bigevent.pojo.article;
import com.zzl.boot.bigevent.pojo.articleWarehouse;
import com.zzl.boot.bigevent.pojo.tag;
import com.zzl.boot.bigevent.pojo.warehouse;
import jakarta.validation.constraints.Pattern;

import java.util.List;

public interface warehouseService {

    void add(String warehouseName);

    List<warehouse> getList();

    void update(warehouse warehouse);

    void del(Integer id);

    void save(articleWarehouse articleWarehouse);

    List<article> listByWare(Integer warehouseId);

    Integer getcount(Integer warehouseId);

    void remove(Integer wid, Integer aid);

    int isExit(articleWarehouse articleWarehouse);

    void fristWarehouse( String username);
}
